home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
qbasicpg.zip
/
NEWS.BAS
< prev
next >
Wrap
BASIC Source File
|
1989-08-31
|
344b
|
19 lines
' NEWS.BAS
' This program demonstrates string concatenation.
CONST STRUCTURE$ = "Bridge"
DIM action AS STRING * 10
action = "is falling"
direction$ = "down"
CLS
INPUT "Please enter the name of a city: ", cityName$
PRINT
PRINT "News Flash: ";
PRINT cityName$ + " " + STRUCTURE$ + " " + action + " " + direction$ + "!"